//-----------------------------------------------------------------------
// <copyright file="tblOpicsTransactionBase.cs" company="VNSpoke">
//     Copyright ? VNSpoke. All rights reserved.
// </copyright>
//-----------------------------------------------------------------------
	
using System;


namespace Robot.Entities
{
	[Serializable]
	public class tblOpicsTransactionBase
	{
		
		#region Variable Declarations
		
		private Guid				id = Guid.Empty;
		
		private DateTime?				valueDate = null;
		
		private DateTime?				valueDateInOpics = null;
		
		private DateTime?				dealDate = null;
		
		private string				buyCurrency = string.Empty;
		
		private string				sellCurrency = string.Empty;
		
		private decimal?				customerRate = null;
		
		private decimal?				buyAmount = null;
		
		private decimal?				sellAmount = null;
		
		private decimal?				internalRate = null;
		
		private string				customer = string.Empty;
		
		private string				porfolio = string.Empty;
		
		private string				branch = string.Empty;
		
		private Guid				importTransactionID = Guid.Empty;
		
		private DateTime?				runningDate = null;
		
		private int?				status = null;
		
		private string				dealNo = string.Empty;
		#endregion
		
		#region Constructors
		public tblOpicsTransactionBase() {}
		
		public tblOpicsTransactionBase (
			Guid id,
			DateTime? valueDate,
			DateTime? valueDateInOpics,
			DateTime? dealDate,
			string buyCurrency,
			string sellCurrency,
			decimal? customerRate,
			decimal? buyAmount,
			decimal? sellAmount,
			decimal? internalRate,
			string customer,
			string porfolio,
			string branch,
			Guid importTransactionID,
			DateTime? runningDate,
			int? status,
			string dealNo)
		
		{
			this.id = id;
			this.valueDate = valueDate;
			this.valueDateInOpics = valueDateInOpics;
			this.dealDate = dealDate;
			this.buyCurrency = buyCurrency;
			this.sellCurrency = sellCurrency;
			this.customerRate = customerRate;
			this.buyAmount = buyAmount;
			this.sellAmount = sellAmount;
			this.internalRate = internalRate;
			this.customer = customer;
			this.porfolio = porfolio;
			this.branch = branch;
			this.importTransactionID = importTransactionID;
			this.runningDate = runningDate;
			this.status = status;
			this.dealNo = dealNo;
		}
		#endregion
		
		#region Properties	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid ID
		{
			get { return id; }
			set { id = value; }
		}
		public Guid originalID
		{
			get { return originalID; }
			set { originalID = value; }
		} 
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? ValueDate
		{
			get { return valueDate; }
			set { valueDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? ValueDateInOpics
		{
			get { return valueDateInOpics; }
			set { valueDateInOpics = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? DealDate
		{
			get { return dealDate; }
			set { dealDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string BuyCurrency
		{
			get { return buyCurrency; }
			set { buyCurrency = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string SellCurrency
		{
			get { return sellCurrency; }
			set { sellCurrency = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? CustomerRate
		{
			get { return customerRate; }
			set { customerRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? BuyAmount
		{
			get { return buyAmount; }
			set { buyAmount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? SellAmount
		{
			get { return sellAmount; }
			set { sellAmount = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is decimal</value>
		public decimal? InternalRate
		{
			get { return internalRate; }
			set { internalRate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Customer
		{
			get { return customer; }
			set { customer = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Porfolio
		{
			get { return porfolio; }
			set { porfolio = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string Branch
		{
			get { return branch; }
			set { branch = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is uniqueidentifier</value>
		public Guid ImportTransactionID
		{
			get { return importTransactionID; }
			set { importTransactionID = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is datetime</value>
		public DateTime? RunningDate
		{
			get { return runningDate; }
			set { runningDate = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is int</value>
		public int? Status
		{
			get { return status; }
			set { status = value; }
		}
	
		/// <summary>
		/// 	
		/// </summary>
		/// <value>This type is varchar</value>
		public string DealNo
		{
			get { return dealNo; }
			set { dealNo = value; }
		}
	
		
		#endregion
	}//End Class
	
	public enum tblOpicsTransactionColumns
	{
		ID,
		ValueDate,
		ValueDateInOpics,
		DealDate,
		BuyCurrency,
		SellCurrency,
		CustomerRate,
		BuyAmount,
		SellAmount,
		InternalRate,
		Customer,
		Porfolio,
		Branch,
		ImportTransactionID,
		RunningDate,
		Status,
		DealNo
	}//End enum
}